.vitepress-demo button {
  padding: 3px 15px;
  background-color: var(--vp-c-brand);
  border: none;
  outline: none;
  color: white;
  margin: 0.5rem 0;
  border-bottom: 2px solid var(--vp-c-brand-2);
  text-shadow: 1px 1px 1px var(--vp-c-brand-2);
  border-radius: 4px;
  font-size: 1rem;
  box-sizing: border-box;
  vertical-align: middle;
}

.vitepress-demo li {
  list-style-type: none;
}

.vitepress-demo button.small {
  padding: 0.25em 0.7em 0.2em 0.7em;
}

.vitepress-demo button.orange {
  --vp-c-brand: #db8742;
  --vp-c-brand-dark: #ad6e39;
  --vp-c-brand-active: #d67e36;
}

.vitepress-demo button.red {
  --vp-c-brand: #f56c6c;
  --vp-c-brand-dark: #e41c1c;
  --vp-c-brand-active: #e94c4c;
}

.vitepress-demo button:hover {
  background-color: var(--vp-c-brand-2);
}

.vitepress-demo button:active {
  border-bottom: 0;
  border-top: 2px solid var(--vp-c-brand-2);
}
.vitepress-demo button ~ button {
  margin-left: 0.5rem;
}

.vitepress-demo input[type='text'],
input[type='search'],
input[type='number'] {
  display: block;
  font-size: 0.9rem;
  padding: 0.5em 1em 0.4em 1em;
  border: 1px solid var(--vp-c-divider);
  border-radius: 4px;
  outline: none;
  background: var(--vp-c-bg);
  color: var(--vp-c-text-1);
  margin: 0.5rem 0;
}

.vitepress-demo .demo-actions .demo-platforms {
  visibility: hidden;
}
